home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-SPAR.{_A / REG.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  1KB  |  53 lines

  1. /* $Id: reg.h,v 1.4 1997/09/14 08:40:29 davem Exp $
  2.  * linux/asm-sparc64/reg.h
  3.  * Layout of the registers as expected by gdb on the Sparc
  4.  * we should replace the user.h definitions with those in
  5.  * this file, we don't even use the other 
  6.  * -miguel
  7.  *
  8.  * The names of the structures, constants and aliases in this file
  9.  * have the same names as the sunos ones, some programs rely on these
  10.  * names (gdb for example).
  11.  *
  12.  */
  13.  
  14. #ifndef __SPARC64_REG_H
  15. #define __SPARC64_REG_H
  16.  
  17. struct regs {
  18.         unsigned long r_g1;
  19.         unsigned long r_g2;
  20.         unsigned long r_g3;
  21.         unsigned long r_g4;
  22.         unsigned long r_g5;
  23.         unsigned long r_g6;
  24.         unsigned long r_g7;
  25.         unsigned long r_o0;
  26.         unsigned long r_o1;
  27.         unsigned long r_o2;
  28.         unsigned long r_o3;
  29.         unsigned long r_o4;
  30.         unsigned long r_o5;
  31.         unsigned long r_o6;
  32.         unsigned long r_o7;
  33.         unsigned long __pad;
  34.         unsigned long r_tstate;
  35.         unsigned long r_tpc;
  36.         unsigned long r_tnpc;
  37.         unsigned int  r_y;
  38.         unsigned int  r_fprs;
  39. };
  40.  
  41. struct fp_status {
  42.         unsigned long fpu_fr[32];
  43.         unsigned long Fpu_fsr;
  44. };
  45.  
  46. struct fpu {
  47.     struct fp_status f_fpstatus;
  48. };
  49.  
  50. #define fpu_regs  f_fpstatus.fpu_fr
  51.  
  52. #endif /* __SPARC64_REG_H */
  53.